package com.smart.oil.mapper;

import com.smart.oil.entity.SmPermission;

import java.util.List;

public interface SmPermissionMapper {
    int deleteByPrimaryKey(String id);

    int insert(SmPermission record);

    int insertSelective(SmPermission record);

    SmPermission selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SmPermission record);

    int updateByPrimaryKey(SmPermission record);
    List<SmPermission> selectAll();

    List<SmPermission> selectChild(String permissionId);
    List<SmPermission> selectInfoByIds (List<String> ids);
}